package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 首页轮播图的表
 * </p>
 *
 * @author Mr.we
 * @since 2024-06-03
 */
@Getter
@Setter
@TableName("an_index_img")
@ApiModel(value = "AnIndexImg对象", description = "首页轮播图的表")
public class AnIndexImg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "img_id", type = IdType.AUTO)
    private Long imgId;

    @ApiModelProperty("店铺ID")
    private Long shopId;

    @ApiModelProperty("图片")
    private String imgUrl;

    @ApiModelProperty("说明文字,描述")
    private String des;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("链接")
    private String link;

    @ApiModelProperty("状态")
    private Boolean status;

    @ApiModelProperty("顺序")
    private Integer seq;

    @ApiModelProperty("上传时间")
    private LocalDateTime uploadTime;

    @ApiModelProperty("关联")
    private Long relation;

    @ApiModelProperty("类型")
    private Integer type;
}
